import request from '@/utils/request'

//海南市县列表
export function areaList() {
    return request({
      url: `/douyin/video/area/list`,
      method: 'get',
      
    })
  }

//查询海南市县详情
export function getAreaDetails(id) {
  return request({
    url: `/douyin/video/area/detail/${id}`,
    method: 'get',
    
  })
}

//编辑海南市县
export function editArea(data) {
  return request({
    url: '/douyin/video/area',
    method: 'put',
    data
  })
}
